<?php
/* @var $this EmpresasController */
/* @var $model Empresas */
/* @var $form CActiveForm */
?>

<div class="col-md-9">
      <ol class="breadcrumb">
      <li><a href="#">Empresas</a></li>
      <li class="active">Nuevo</li>
    </ol>
     
      <hr>
			<div class="panel panel-primary">
				<div class="panel-heading">
          Formulario de Empresas
          
        </div>
  				<div class="panel-body">









<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'empresas-formEmpresas-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// See class documentation of CActiveForm for details on this,
	// you need to use the performAjaxValidation()-method described there.
	'enableAjaxValidation'=>false,
	 'htmlOptions'=>array('class'=>'form-horizontal', 'role'=>'form' )
)); ?>
<?php echo $form->errorSummary($model); ?>
	<div class="form-group">
	
		<?php echo $form->labelEx($model,'nombre', array('class' =>'col-lg-2' )); ?>
		 <div class="col-lg-5">
		<?php echo $form->textField($model,'nombre',array('class' => 'form-control', 'placeholder'=>'Nombre de la empresa')); ?>
		</div>
		
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'giro',array('class' =>'col-lg-2' )); ?>
		 <div class="col-lg-5">
		<?php echo $form->textField($model,'giro',array('class' => 'form-control')); ?>
		</div>
		
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'domicilio',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'domicilio',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'colonia',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'colonia',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'ciudad',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'ciudad',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'fax',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'fax',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'contacto',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'contacto',array('class' => 'form-control')); ?>
		</div>
		
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'mision',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'mision',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'titular_empresa',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'titular_empresa',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'puesto_titular',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'puesto_titular',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'persona_firma_acuerdo',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'persona_firma_acuerdo',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'puesto_persona_acuerdo',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'puesto_persona_acuerdo',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'rfc',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'rfc',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'telefono',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'telefono',array('class' => 'form-control')); ?>
		</div>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'email',array('class' =>'col-lg-2' )); ?>
		<div class="col-lg-5">
		<?php echo $form->textField($model,'email',array('class' => 'form-control')); ?>
		</div>
	</div>


	<div class="form-group">
    <div class="col-lg-offset-2 col-lg-10">
      <?php echo CHtml::submitButton('Guardar',  array('class' => 'btn btn-primary' )); ?>
    </div>
  </div>

<?php $this->endWidget(); ?>

</div>
</div>


 
        </div><!--/span-->
		</div><!--cierre del col-md-->

	</div>